
const pollsRoute = [
  {
    path: '/question',
    name: 'QuestionList',
    meta: {
      title: '投票列表'
    },
    component: () => import('@/views/polls/question_list')
  },
  {
    path: '/question/:question_id',
    name: 'Question',
    props: true,
    meta: {
      title: '投票'
    },
    component: () => import('@/views/polls/question')
  },

  {
    path: '/question/:question_id/result',
    name: 'QuestionResult',
    props: true,
    meta: {
      title: '投票结果'
    },
    component: () => import('@/views/polls/result')
  },

]
export default pollsRoute